package com.dz.xjd.ui.activity;

import android.graphics.Paint;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.dz.xjd.R;
import com.dz.xjd.ui.base.BaseActivity;
import butterknife.BindView;
import butterknife.OnClick;

public class VerifySuccessActivity extends BaseActivity {


    @BindView(R.id.tv_money)
    TextView mTvMoney;

    @BindView(R.id.tv_versucc_binding)
    TextView mTvBinding;

    @BindView(R.id.btn_versucc_next)
    Button mBtnNext;


    @Override
    protected int getLayout() {
        return R.layout.activity_verify_success;
    }

    @Override
    protected void init() {
        setTextViewUnderline();
    }

    @Override
    public void initPresenter() {
       /* mPresenter.setVM(this, mModel);*/
    }


    @OnClick({R.id.btn_versucc_next, R.id.tv_versucc_binding})
    void onClick(View v) {
        switch (v.getId()){
            case R.id.btn_versucc_next :
                nextSubmit();
                break;

            case R.id.tv_versucc_binding :
                binding();
                break;
        }

        nextSubmit();
    }

    private void nextSubmit() {

    }

    private void binding(){

    }
    private void setTextViewUnderline(){
        mTvBinding.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG);
        mTvBinding.getPaint().setAntiAlias(true);
    }

}
